import type { RouteRecordRaw } from 'vue-router';
import RouterView from '@/layout/routerView/index.vue';

const routes: RouteRecordRaw[] = [
  {
    path: 'systemDocking',
    name: 'systemDocking',
    component: RouterView,
    meta: {
      title: '系统对接',
      icon: 'icon-zhengfangti-mianxing',
    },
    children: [
      {
        path: 'tripartiteSystem',
        name: 'tripartiteSystem',
        component: () => import('../pages/tripartite-system/tripartite-system.vue'),
        meta: {
          title: '三方系统',
        },
      },
      {
        path: 'tripartiteEquipment',
        name: 'tripartiteEquipment',
        component: () => import('../pages/tripartite-equipment/tripartite-equipment.vue'),
        meta: {
          title: '三方设备',
        },
      },
    ],
  },
];

export default routes;
